package org.unit.testmgmt.ui.table;

import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;

/**
 * Label provider base
 * 
 * @author Robert Streng
 * 
 */
public class LabelProviderBase extends LabelProvider implements ITableLabelProvider {

	@Override
	public String getColumnText(Object element, int columnIndex) {
		ITableEntry entry = (ITableEntry) element;
		return "" + entry.getLabel(columnIndex);
	}

	@Override
	public Image getColumnImage(Object element, int columnIndex) {
		return null;
	}

}
